package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 护士处置记录对象 t_prescription_nurse_his
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
@Data
public class TPrescriptionNurseHis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long id;

    /** 护士ID */
    @Excel(name = "护士ID")
    private Long nurseid;

    /** 处方ID */
    @Excel(name = "处方ID")
    private Long prescriptionid;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crtime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNurseid(Long nurseid) 
    {
        this.nurseid = nurseid;
    }

    public Long getNurseid() 
    {
        return nurseid;
    }
    public void setPrescriptionid(Long prescriptionid) 
    {
        this.prescriptionid = prescriptionid;
    }

    public Long getPrescriptionid() 
    {
        return prescriptionid;
    }
    public void setCrtime(Date crtime) 
    {
        this.crtime = crtime;
    }

    public Date getCrtime() 
    {
        return crtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nurseid", getNurseid())
            .append("prescriptionid", getPrescriptionid())
            .append("crtime", getCrtime())
            .toString();
    }
}
